package com.express.dao;

import org.apache.ibatis.annotations.Select;
import pojo.User;
import tk.mybatis.mapper.common.Mapper;

public interface UserMapper extends Mapper<User> {

    @Select("select phone_num from user where user_id = (select user_id from user where user_id = #{id})")
    String findPhoneNumberById(Integer id);
}
